/*******************************************************************************
* Copyright (c) 2010, 2017 西安秦晔信息科技有限公司
* Licensed under the Apache License, Version 2.0 (the "License");
*    you may not use this file except in compliance with the License.
*    You may obtain a copy of the License at
*
*       http://www.apache.org/licenses/LICENSE-2.0
*
*    Unless required by applicable law or agreed to in writing, software
*    distributed under the License is distributed on an "AS IS" BASIS,
*    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*    See the License for the specific language governing permissions and
*    limitations under the License.
*******************************************************************************/
package com.qinyeit.serviceapp.entity.system;

import com.qinyetech.springstage.core.entity.AbstractEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * ClassName: SystemDictionarie <br/>
 * Function: 数据字典 <br/>
 * date: 2018-03-05 10:56:29 <br/>
 *
 * @author 吴青
 * @version  1.0
 * @since JDK 1.8
 */
@Entity
@Table(name="system_dictionaries")
public class SystemDictionary extends AbstractEntity {

	private static final long serialVersionUID = 1L;
	// 标签名 
    @Column(name="name", length = 50)
	private String name = null;

	// 数据值 
    @Column(name="data_value", length = 30)
	private String dataValue = null;

	// 类型 
    @Column(name="type", length = 50)
	private String type = null;
	// 备注 
    @Column(name="remark", length = 300)
	private String remark = null;


	public SystemDictionary() {
		
	}

	public SystemDictionary(Long id){
    	super.setId(id);
    }

	/**
	 * 获取标签名
	 */
	public String getName() {
		return this.name;
	}

    /**
     * 设置标签名
     */
	public SystemDictionary setName(String name) {
		this.name = name;
		return this;
	}

	/**
	 * 获取数据值
	 */
	public String getDataValue() {
		return this.dataValue;
	}

    /**
     * 设置数据值
     */
	public SystemDictionary setDataValue(String dataValue) {
		this.dataValue = dataValue;
		return this;
	}

	/**
	 * 获取类型
	 */
	public String getType() {
		return this.type;
	}

    /**
     * 设置类型
     */
	public SystemDictionary setType(String type) {
		this.type = type;
		return this;
	}

}
